package com.ruoyi.appService.careeranchor.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.appService.careeranchor.domain.ZTestCareeranchor;
import org.apache.ibatis.annotations.Mapper;

/**
 * 职业锚测试题Mapper接口
 *
 * @author anjiao
 * @date 2025-05-10
 */
@Mapper
public interface ZTestCareeranchorMapper extends BaseMapper<ZTestCareeranchor> {
    /**
     * 查询职业锚测试题
     *
     * @param id 职业锚测试题主键
     * @return 职业锚测试题
     */
    public ZTestCareeranchor selectZTestCareeranchorById(Long id);

    /**
     * 查询职业锚测试题列表
     *
     * @param zTestCareeranchor 职业锚测试题
     * @return 职业锚测试题集合
     */
    public List<ZTestCareeranchor> selectZTestCareeranchorList(ZTestCareeranchor zTestCareeranchor);

    /**
     * 新增职业锚测试题
     *
     * @param zTestCareeranchor 职业锚测试题
     * @return 结果
     */
    public int insertZTestCareeranchor(ZTestCareeranchor zTestCareeranchor);

    /**
     * 修改职业锚测试题
     *
     * @param zTestCareeranchor 职业锚测试题
     * @return 结果
     */
    public int updateZTestCareeranchor(ZTestCareeranchor zTestCareeranchor);

    /**
     * 删除职业锚测试题
     *
     * @param id 职业锚测试题主键
     * @return 结果
     */
    public int deleteZTestCareeranchorById(Long id);

    /**
     * 批量删除职业锚测试题
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZTestCareeranchorByIds(Long[] ids);
}